import request from "@/utils/request";

export function deleteLink(param) {
    return request({
        url:'/admin/links',
        method:'delete',
        data:param.data
    })
}

export function saveOrUpdateFriendLink(data) {
    return request({
        url:'/admin/links',
        method:'post',
        data:data
    })
}

export  function listLinks(param) {
    return request({
        url:'/admin/links',
        method:'get',
        params:param
    })
}
